package com.fl.iocaop.java8;

//实现泛型接口方法，返回苹果重量大于50为true
//策略设计模式
public class FileterApple implements FilterAppleByWeigth<apple> {
    @Override
    public boolean FilterApple(apple apple) {
        return apple.getWeight()>50;
    }
}
